Recreate session
Recreating a session means re-summarizing the session content (calculate_session).
Note: it will not re-describe each event in the session
Steps to Recreate a Session​
Given a session ID (e.g., session_x), follow these steps:
1. Locate the Session in MongoDB​
2. Edit the Session Document​
Update the session with the following changes:
-
Set the
statusfield to:"status": "active" -
Add a new
booleanfield:"allow_recreate_session": true
Note: You need to explicitly set the field type to "boolean"
3. Trigger the Recreate via API​
POST /mgmt/session/{session_id}/recreateSession